//
//  NSDate+HMXDate.h
//  HMXBaisi
//
//  Created by apple on 16/7/1.
//  Copyright © 2016年 apple. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface NSDate (HMXDate)
//是否为今年
-(BOOL)isThisYear;

//是否为今天
-(BOOL)isThisToday;

//是否为昨天
-(BOOL)isYestoday;

//获取时间之间的间隔
-(NSDateComponents *)betweenTime;

@end
